package com.cloud.api.domain.tsp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@Accessors
@Schema(name = "QueryTrack")
public class QueryTrack {

    @Schema(description = "vin")
    private String vin;

    @Schema(description = "日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date date;

    @Schema(description = "数据权限",hidden = true)
    private Integer dataScope;

    @Schema(description = "部门id",hidden = true)
    private List<String> deptIds;

    @Schema(description = "doris映射名",hidden = true)
    private String dataSource;
}
